package com.swh.ShiroUserRealm;

import com.swh.entity.SysUser;

import java.util.List;

/**
 * @Author: swh
 * @Description:
 * @Date: 2021/1/5 17:02
 * @Version: 1.0
 */
public class ActiverUser {
    private SysUser user;
    private List<String> roles;
    private List<String> permissions;

    public ActiverUser() {
    }

    public ActiverUser(SysUser user, List<String> roles, List<String> permissions) {
        this.user = user;
        this.roles = roles;
        this.permissions = permissions;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }
}
